#include <iostream>
#include <set>
#include <iostream>

using namespace std;

int main(int argc, char const *argv[])
{
    set<int> s{1,2};
    s.insert(3);
    for(auto i : s){
        cout << i << " ";
    }
    cout << endl;
    return 0;
}
